/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.wordpress.fareastdan.FEDTradeManagerIDE.FEDConnectionManager;

import org.openide.nodes.AbstractNode;
import org.openide.nodes.ChildFactory;
import org.openide.nodes.Children;
import org.openide.nodes.Node;
import org.openide.util.lookup.Lookups;
/**
 *
 * @author user
 */
public class FEDServerNode extends AbstractNode
{    
    public FEDServerNode(FEDServer obj) 
    {
        // Add a node for connections
        super (Children.create(new FEDServerChildFactory(), true), Lookups.singleton(obj));
        setDisplayName (obj.toString());
    }
 
    public FEDServerNode()
    {
        super(Children.LEAF);
    }
}
